﻿<Window x:Class="ActiveStory.UI.CanvasSizeDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Canvas Size" Height="103" Width="350" WindowStartupLocation="CenterOwner" ResizeMode="NoResize" ShowInTaskbar="False" SizeToContent="WidthAndHeight" Icon="/ActiveStoryEnhanced;component/Content/icon.png">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition Width="70"></ColumnDefinition>
            <ColumnDefinition Width="70"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="25"></RowDefinition>
            <RowDefinition Height="30"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="45" />
                <ColumnDefinition Width="45"/>
                <ColumnDefinition Width="50"/>
                <ColumnDefinition Width="45"/>
                <ColumnDefinition />
                <ColumnDefinition Width="40"/>
            </Grid.ColumnDefinitions>
            <Label Grid.Column="0">Width:</Label>
        <TextBox Name="CanvasWidthTextBox" Grid.Column="1" Text="" TabIndex="0"></TextBox>
        <Label Grid.Column="2">Height:</Label>
        <TextBox Name="CanvasHeightTextBox" Grid.Column="3" Text="" TabIndex="1"></TextBox>
        <Label Grid.Column="4" HorizontalAlignment="Right">Set as default:</Label>
        <CheckBox Name="SetDefaultChecBox" Grid.Column="5" HorizontalAlignment="Center" VerticalAlignment="Center" TabIndex="2"></CheckBox>
            </Grid>
        <Button Grid.Row="1" Grid.Column="1" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="70" Height="25" Name="OkButton" IsDefault="True" Click="OkButton_Click" TabIndex="3">OK</Button>
        <Button Grid.Row="1" Grid.Column="2" VerticalAlignment="Bottom" Height="25" Name="CancelButton" IsCancel="True" TabIndex="4">Cancel</Button>
    </Grid>
</Window>
